package com.diaohw.platform.utility.uml.web;

import com.diaohw.platform.utility.uml.obj.ClassTreeBO;
import com.diaohw.platform.utility.uml.service.UMLProcessService;
import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/uml")
public class UMLProcessWeb {

    @Resource
    private UMLProcessService processService;

    @GetMapping("/load")
    public List<ClassTreeBO> load() {
        return processService.load();
    }


}
